package com.yingxue.demo.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

/**
 * @Package: com.company.scaffold.vo.req
 * @Author: Mr.Waves
 * @Date: 2020-03-17 23:36
 * @Description:
 **/
@Data
public class LoginReqVO {
    @ApiModelProperty(value = "账号用户名")
    @NotBlank(message = "用户名不能为空")
    private String username;

    @ApiModelProperty(value = "账号密码明文")
    @NotBlank(message = "密码不能为空")
    private String password;

    @ApiModelProperty(value = "登录来源：1.PC 2.APP")
    @NotBlank(message = "来源类型不能为空")
    private String type;
}
